import { MidwayConfig } from '@midwayjs/core';

export default {
  // use for cookie sign key, should change to your own and keep security
  keys: '1703843972674_4808',
  koa: {
    port: <%=后端端口%>,
  },
  datasources: {
    default: {
      host:  '<%=datasourceDto&&datasourceDto.host%>',
      port: <%=datasourceDto&&datasourceDto.port%>,
      user: '<%=datasourceDto&&datasourceDto.user%>',
      password: '<%=datasourceDto&&datasourceDto.password%>',
      database: '<%=datasourceDto&&datasourceDto.database%>'
    }
  }

} as MidwayConfig;
